package com.hhf.rpc.provider.service;

import com.hhf.rpc.common.model.entity.User;
import com.hhf.rpc.common.service.UserService;

/**
 * @Author hhf
 * @Date 2024/10/15
 * @Description
 */
public class UserServiceImpl implements UserService {

    @Override
    public String sayHello(User user) {

        String name = user.getName();
        String description = user.getDescription();
        String content = String.format("用户名: %s\t格言: %s", name, description);
        return content;
    }
}
